﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace System.Web.Mvc.Html
{
    public static  class HtmlHelperExtensions
    {
        //public static MvcHtmlString FunctionListBox(this HtmlHelper htmlHelper, IEnumerable<SelectListItem> listOfValues)
        //{
        //    var sb = new StringBuilder();
        //    sb.Append("<select name='sometext' multiple='multiple'>");
        //    foreach (SelectListItem item in listOfValues)
        //    {
        //        sb.AppendFormat("<option value='{0}'>{1}</option>", item.Value, item.Text);
        //        //int functionId = ""
        //    }
        //    sb.Append("</select>");
        //    return MvcHtmlString.Create(sb.ToString());
        //}
        //public static MvcHtmlString FunctionMenu(this HtmlHelper, IEnumerable<SelectListItem> listOfValues){
        //    var sb = new StringBuilder();
        //    sb.Append("<select name='sometext' multiple='multiple'>");
        //    foreach (SelectListItem item in listOfValues)
        //    {
        //        sb.AppendFormat("<option value='{0}'>{1}</option>", item.Value, item.Text);
        //        //int functionId = ""
        //    }
        //    sb.Append("</select>");
        //    return MvcHtmlString.Create(sb.ToString());
        //}

    }
}
